package com.yunxi.model.finance;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 固定返利表
 * </p>
 *
 * @author 
 * @since 2019-09-16
 */
@Data
@EqualsAndHashCode(callSuper = false)

@TableName("pms_rebate_commission")
@ApiModel(value="RebateCommission对象", description="固定返利表")
public class RebateCommission implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键编码")
    @TableId(value = "REBATE_ID", type = IdType.UUID)
    private String rebateId;

    @ApiModelProperty(value = "返利比例")
    @TableField("REBATE_RATIO")
    private BigDecimal rebateRatio;

    @ApiModelProperty(value = "启用或禁用 1.启用 0.禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "返利类型（1.自由资金返利 2.客户来源 3.试乘试驾 4.订单 5.交车）")
    @TableField("REBATE_TYPE")
    private Integer rebateType;

    @ApiModelProperty(value = "是否删除1.是 0.否")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "创建时间")
    @TableField("CREATE_TIME")
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField("CREATE_BY")
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField("UPDATE_TIME")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField("UPDATE_BY")
    private String updateBy;

    @ApiModelProperty(value = "返利名称")
    @TableField("REBATE_NAME")
    private String rebateName;


}
